package com.iop.medical.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * drug实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="tb_drug")
public class Drug implements Serializable{

	@Id
	private Integer id;//id


	
	private String drugName;//drugName
	private Double price;//price
	private Integer num;//num


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDrugName() {
		return drugName;
	}

	public void setDrugName(String drugName) {
		this.drugName = drugName;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}
}
